﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace BLL
{
    [ServiceContract(Name = "trainningworkshop", Namespace = "")]//tian jia
    public interface IRoleService
    {
        
        [OperationContract]
        IList<Role> GetRole(string roleName, int status);


        [OperationContract]
        void Delete(int Id);


        [OperationContract]
        void Update(IList<BLL.Role> roleList);


        [OperationContract]
        Role GetById(int Id);



        
    }
}
